package com.csun.cmny.provider.model.dto.rfid;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-21 20:44
 * @Description: the class bind dmc rfid label oldman dto
 */
@Data
@ApiModel(value = "绑定门禁卡标签Dto")
public class BindDmcRfidLabelOldmanDto {

    /**
     * 设备Id
     */
    @NotNull(message = "{device.id.null}")
    private Long deviceId;

    /**
     * 老人Id
     */
//    @NotNull(message = "{oldman.id.null}")
    private Long oldmanId;

    /**
     * 老人姓名
     */
    @NotNull(message = "{oldman.name.null}")
    private String oldmanName;

    /**
     * 角色Id
     */
    @NotNull(message = "{rfid.label.role.id.null}")
    private Long roleId;

}
